<template>
	<view class="back-bg"></view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onShow(){
			this.liao();
		},
		methods:{
			liao(){
				let token=this.$store.state.token || '';
				setTimeout(function(){
					if(token){
						uni.reLaunch({
							url:'/pages/index/index'
						})
					}else{
						uni.reLaunch({
							url:'/pages/Login/Login'
						})
					}
				},2500)
			},
		}
	}
</script>

<style>
.back-bg{
	width: 100%;height: 100%;
	background-color:#03010c;
	background-image: url('/static/new_images/start-app-bg.gif');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom;
}
</style>
